Inside Macintosh: QuickTime Components

Previous | Chapter Top | Chapter Contents | Next

Data Types

TYPE
{SCModelFilterProcPtr is a pointer to a filter function}
SCModalFilterProcPtr = ProcPtr;

{SCModalHookProcPtr is a pointer to a hook function}
SCModalHookProcPtr = ProcPtr;

{spatial options structure with the spatial settings request}
SCSpatialSettings =
RECORD
cType: CodecType; {compressor type}
codec: CodecComponent; {compressor}
depth: Integer; {pixel depth}
spatialQuality: CodecQ; {desired quality}
END;

{temporal options structure with the temporal settings request}
SCTemporalSettings =
RECORD
temporalQuality: CodecQ; {desired quality}
frameRate: Fixed; {frame rate}
keyFrameRate: LongInt; {key frame rate}
END;

{data rate options with the data rate settings request}
SCDataRateSettings =
RECORD
dataRate: LongInt; {desired data rate}
frameDuration: LongInt; {frame duration}
minSpatialQuality : CodecQ; {minimum value}
minTemporalQuality : CodecQ; {minimum value}
END;

{extending the dialog box with the extended functions request}
SCExtendedProcs =
RECORD
filterProc: SCModalFilterProcPtr; {filter function}
hookProc : SCModalHookProcPtr; {hook function}
refCon : LongInt; {reference constant}
customName: Str31; {custom button name}
END;

{standard compression parameter block included for compatibility }
{ with earlier linked version of standard-image compression dialog }
{ component}
SCParams =
RECORD
flags : LongInt; {control flags}
theCodecType: CodecType; {compressor type}
theCodec : CodecComponent; {specific compressor}
spatialQuality: CodecQ; {spatial quality value}
temporalQuality: CodecQ; {temporal quality value}
depth: Integer; {pixel depth}
frameRate: Fixed; {desired frame rate}
keyFrameRate : LongInt; {desired key frame rate}
reserved1: LongInt; {reserved--set to 0}
reserved2 : LongInt; [reserved--set to 0}
END;

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next